FROM openjdk:21
ENV TZ=Asia/Shanghai
VOLUME /Users/admin/disk/tmpdir

ADD ./target/spring-http-service-0.0.1-SNAPSHOT.jar spring-http-service.jar

ENTRYPOINT ["sh", "-c", "java -jar spring-http-service.jar"]